﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="AnyOffice.general.chatroom.login" %>

<%@ Reference Page="~/login.aspx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>聊天室登录</title>
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		
		<script Language="JavaScript">
function CheckForm()
{
   if(document.Form1.txtNickName.value=="")
   { alert("昵称不能为空！");
     return (false);
   }
   return (true);
}

		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
	<form id="Form1" method="post" runat="server">
		<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
			<tr>
				<td class="Big"><img src="/images/menu/chatroom.gif" WIDTH="22" HEIGHT="20" align="absMiddle"><span class="big3">
						聊天室 -&nbsp;
						<asp:Literal id="litNavTitle" runat="server"></asp:Literal>
						- 登录</span><br>
				</td>
			</tr>
		</table>
		<br>
		<div align="center">
			<b><span class="big1">昵称：</span><input type="text" name="txtNickName" size="10" maxlength="20" class="Biginput" id="txtNickName"
					runat="server">&nbsp; <input type="submit" value="进入聊天室" class="BigButton" name="button" onclick="return CheckForm();">
				</FONT> </b>
		</div>
		<br>
		<center><input type="button" class="BigButton" value="返回" onclick="history.back();"></center>		
		</form>
	</body>
</HTML>
